public class Test {

	public static void main(String[] args) {

		Random a =new Random( );
		for (int i=0;i<5 ;i++ ) {
		System.out.println(a.nextInt(10));	
		
	}
	
}
}